Classes | Defines | Typedefs | Functions | Variables
camnode.cpp File Reference
#include <arv.h>
#include <iostream>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <glib.h>
#include <ros/ros.h>
#include <ros/time.h>
#include <ros/duration.h>
#include <sensor_msgs/Image.h>
#include <std_msgs/Int64.h>
#include <sensor_msgs/image_encodings.h>
#include <image_transport/image_transport.h>
#include <camera_info_manager/camera_info_manager.h>
#include <dynamic_reconfigure/server.h>
#include <driver_base/SensorLevels.h>
#include <tf/transform_listener.h>
#include <camera_aravis/CameraAravisConfig.h>
#include "XmlRpc.h"
Include dependency graph for camnode.cpp:

Go to the source code of this file.

Classes

struct  ApplicationData
struct  global_s
struct  NODEEX

Defines

#define ARV_PIXEL_FORMAT_BIT_PER_PIXEL(pixel_format)   (((pixel_format) >> 16) & 0xff)
#define ARV_PIXEL_FORMAT_BYTE_PER_PIXEL(pixel_format)   ((((pixel_format) >> 16) & 0xff) >> 3)
#define CLIP(x, lo, hi)   MIN(MAX((lo),(x)),(hi))
#define THROW_ERROR(m)   throw std::string((m))
#define TRIGGERSOURCE_LINE1   1
#define TRIGGERSOURCE_LINE2   2
#define TRIGGERSOURCE_SOFTWARE   0

Typedefs

typedef
camera_aravis::CameraAravisConfig 
Config

Functions

static void ControlLost_callback (ArvGvDevice *pGvDevice)
ArvGvStream * CreateStream (void)
NODEEX GetGcFirstChild (ArvGc *pGenicam, NODEEX nodeex)
NODEEX GetGcNextSibling (ArvGc *pGenicam, NODEEX nodeex)
int main (int argc, char **argv)
static void NewBuffer_callback (ArvStream *pStream, ApplicationData *pApplicationdata)
static gboolean PeriodicTask_callback (void *applicationdata)
void PrintDOMTree (ArvGc *pGenicam, NODEEX nodeex, int nIndent)
void RosReconfigure_callback (Config &config, uint32_t level)
static void set_cancel (int signal)
static gboolean SoftwareTrigger_callback (void *)
void WriteCameraFeaturesFromRosparam (void)

Variables

struct global_s global
const char * szBufferStatusFromInt []

Define Documentation

#define ARV_PIXEL_FORMAT_BIT_PER_PIXEL (   pixel_format)    (((pixel_format) >> 16) & 0xff)

Definition at line 57 of file camnode.cpp.

#define ARV_PIXEL_FORMAT_BYTE_PER_PIXEL (   pixel_format)    ((((pixel_format) >> 16) & 0xff) >> 3)

Definition at line 58 of file camnode.cpp.

#define CLIP (   x,
  lo,
  hi 
)    MIN(MAX((lo),(x)),(hi))

Definition at line 50 of file camnode.cpp.

#define THROW_ERROR (   m)    throw std::string((m))

Definition at line 51 of file camnode.cpp.

#define TRIGGERSOURCE_LINE1   1

Definition at line 54 of file camnode.cpp.

#define TRIGGERSOURCE_LINE2   2

Definition at line 55 of file camnode.cpp.

#define TRIGGERSOURCE_SOFTWARE   0

Definition at line 53 of file camnode.cpp.


Typedef Documentation

typedef camera_aravis::CameraAravisConfig Config

Definition at line 59 of file camnode.cpp.


Function Documentation

static void ControlLost_callback ( ArvGvDevice *  pGvDevice) [static]

Definition at line 589 of file camnode.cpp.

ArvGvStream* CreateStream ( void  )

Definition at line 150 of file camnode.cpp.

NODEEX GetGcFirstChild ( ArvGc *  pGenicam,
NODEEX  nodeex 
)

Definition at line 626 of file camnode.cpp.

NODEEX GetGcNextSibling ( ArvGc *  pGenicam,
NODEEX  nodeex 
)

Definition at line 668 of file camnode.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 822 of file camnode.cpp.

static void NewBuffer_callback ( ArvStream *  pStream,
ApplicationData pApplicationdata 
) [static]

Definition at line 459 of file camnode.cpp.

static gboolean PeriodicTask_callback ( void *  applicationdata) [static]

Definition at line 606 of file camnode.cpp.

void PrintDOMTree ( ArvGc *  pGenicam,
NODEEX  nodeex,
int  nIndent 
)

Definition at line 706 of file camnode.cpp.

void RosReconfigure_callback ( Config config,
uint32_t  level 
)

Definition at line 198 of file camnode.cpp.

static void set_cancel ( int  signal) [static]

Definition at line 145 of file camnode.cpp.

static gboolean SoftwareTrigger_callback ( void *  pCamera) [static]

Definition at line 596 of file camnode.cpp.

Definition at line 749 of file camnode.cpp.


Variable Documentation

struct global_s global
const char* szBufferStatusFromInt[]
Initial value:
 {
                                                                                "ARV_BUFFER_STATUS_SUCCESS",
                                                                                "ARV_BUFFER_STATUS_CLEARED",
                                                                                "ARV_BUFFER_STATUS_TIMEOUT",
                                                                                "ARV_BUFFER_STATUS_MISSING_PACKETS",
                                                                                "ARV_BUFFER_STATUS_WRONG_PACKET_ID",
                                                                                "ARV_BUFFER_STATUS_SIZE_MISMATCH",
                                                                                "ARV_BUFFER_STATUS_FILLING",
                                                                                "ARV_BUFFER_STATUS_ABORTED"
                                                                                }

Definition at line 133 of file camnode.cpp.



camera_aravis
Author(s): Steve Safarik , Andrew Straw , strawlab, Steve Safarik
autogenerated on Fri Aug 28 2015 10:13:44