API
For Arduino developers
Public Member Functions | List of all members
NexCrop Class Reference

NexCrop,subclass of NexTouch,provides simple methods to control crop component. More...

#include <NexCrop.h>

Inheritance diagram for NexCrop:
NexTouch

Public Member Functions

 NexCrop (NexPid pid, NexCid cid, char *name, NexTouchEventCb pop=NULL, void *pop_ptr=NULL)
 Constructor,inherited NexTouch's constructor function.
 
void attachPop (NexTouchEventCb pop, void *ptr=NULL)
 Register crop pop callback function. More...
 
void detachPop (void)
 Unload crop pop callback function.
 
- Public Member Functions inherited from NexTouch
 NexTouch (NexPid pid, NexCid cid, char *name, NexTouchEventCb pop=NULL, void *pop_ptr=NULL, NexTouchEventCb push=NULL, void *push_ptr=NULL)
 Constructor of Nextouch. More...
 
NexPid getPid (void)
 Get page id. More...
 
NexCid getCid (void)
 Get component id. More...
 
const char * getObjName (void)
 Get component name. More...
 

Detailed Description

NexCrop,subclass of NexTouch,provides simple methods to control crop component.

Examples:
CompCrop.ino.

Definition at line 26 of file NexCrop.h.

Member Function Documentation

void NexCrop::attachPop ( NexTouchEventCb  pop,
void *  ptr = NULL 
)

Register crop pop callback function.

Parameters
pop- the pointer to crop pop callback function.
ptr- the parameter to be transmitted to crop pop callback function.
Examples:
CompCrop.ino.

Definition at line 72 of file NexCrop.cpp.


The documentation for this class was generated from the following files: