Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1701 → Rev 1702

/C-OSD/arducam-osd/libraries/AP_Common/AP_MetaClass.cpp
0,0 → 1,36
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
// This is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License as published by the
// Free Software Foundation; either version 2.1 of the License, or (at
// your option) any later version.
//
 
/// @file AP_MetaClass.cpp
/// Abstract meta-class from which other AP classes may inherit.
/// Provides type introspection and some basic protocols that can
/// be implemented by subclasses.
 
#include "AP_MetaClass.h"
 
// Default ctor, currently does nothing
AP_Meta_class::AP_Meta_class(void)
{
}
 
// Default dtor, currently does nothing but must be defined in order to ensure that
// subclasses not overloading the default virtual dtor still have something in their
// vtable.
AP_Meta_class::~AP_Meta_class()
{
}
 
size_t AP_Meta_class::serialize(void *buf, size_t bufSize) const
{
return 0;
}
 
size_t AP_Meta_class::unserialize(void *buf, size_t bufSize)
{
return 0;
}